package com.zhonghan.recharge.dao;
import com.zhonghan.recharge.pojo.OilCustomerRelease;
import java.util.List;
public interface OilCustomerReleaseDao{
	/**
	 * 获得OilCustomerRelease数据的总行数
	 * @return
	 */
    long getOilCustomerReleaseRowCount();
	/**
	 * 获得OilCustomerRelease数据集合
	 * @return
	 */
    List<OilCustomerRelease> selectOilCustomerRelease();
	/**
	 * 获得一个OilCustomerRelease对象,以参数OilCustomerRelease对象中不为空的属性作为条件进行查询
	 * @param obj
	 * @return
	 */
    List<OilCustomerRelease> selectOilCustomerReleaseByObj(OilCustomerRelease obj);
	/**
	 * 通过OilCustomerRelease的id获得OilCustomerRelease对象
	 * @param id
	 * @return
	 */
    OilCustomerRelease selectOilCustomerReleaseById(Integer id);
	/**
	 * 插入OilCustomerRelease到数据库,包括null值
	 * @param value
	 * @return
	 */
    int insertOilCustomerRelease(OilCustomerRelease value);
	/**
	 * 插入OilCustomerRelease中属性值不为null的数据到数据库
	 * @param value
	 * @return
	 */
    int insertNonEmptyOilCustomerRelease(OilCustomerRelease value);
	/**
	 * 批量插入OilCustomerRelease到数据库,包括null值
	 * @param value
	 * @return
	 */
    int insertOilCustomerReleaseByBatch(List<OilCustomerRelease> value);
	/**
	 * 通过OilCustomerRelease的id删除OilCustomerRelease
	 * @param id
	 * @return
	 */
    int deleteOilCustomerReleaseById(Integer id);
	/**
	 * 通过OilCustomerRelease的id更新OilCustomerRelease中的数据,包括null值
	 * @param enti
	 * @return
	 */
    int updateOilCustomerReleaseById(OilCustomerRelease enti);
	/**
	 * 通过OilCustomerRelease的id更新OilCustomerRelease中属性不为null的数据
	 * @param enti
	 * @return
	 */
    int updateNonEmptyOilCustomerReleaseById(OilCustomerRelease enti);
    
	List<OilCustomerRelease> selectOilCustomerReleaseByCondition(OilCustomerRelease oilCustomerRelease);
}